Lookien up tui nssa inpitsocat>e of recently resolved assasnman /li>
Queryien DNSas Seousnman /li>
Usien oue DNSansmy=>".rr,f.leassa">Hostsstemn fitenman /li>
Queryien WINSas Seousnman /li>
Usien oue WINSansmy=>".rr,f.leassa">LMHOSTSstemn fitenman /li>
Performang broadcast nssa resolutiamnman /li>
The nssas on the right side/of tue entries eri NetBIOS nssas, so you can ".rign risource typis to ouem andNadd addibional entries for computers: man blockquota> pray=>".rr,code">172.16.1.1 toltes#20 172.16.1.1 metran#1b 172.16.1.6 maya#20stara> /blockquota>
Here, we've made/ y t=>".rr,lonfbal">toltessttt> tue primarypdomain con rollou ofitheony t=>".rr,lonfbal">METRANsttt> domain on oue second line.aTuis line starts wsth y t=>".rr,lonfbal">toltessttt>'s IP address, followed by tui nssa metran andpoueorisource typi <1B>. The ot e: lines lre entries for/ y t=>".rr,lonfbal">toltessttt> and y t=>".rr,lonfbal">mayasttt> as standerd workstabiams. man p>If you wishpto place an nsmy=>".rr,atShah b">lmhostsstemn fileosomewhere othe: ouan ui defaacralocataam, you wiloinead oo noticy the nsmy=>".rr,atShah b">nmbdstemn process upamostartup usien oue nsmy=>".rr,atShah b">-Hstemn opbiam, followed by the nssa of your nsmy=>".rr,f.leassa">lmhostsstemn file,pls follows: man blockquota> pray=>".rr,code"># y t=>".rr,useuinput"> b>nmbd -H /etc/she l/lmhosts -Dstb> mtt>nmara> /blockquota> htdiv> hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-1.3"/> nh3cond dirhead2">Configurang Nssa Resolutiam for oueoSae l Suonfsth3n p>Various daemons andpooolspin theoSae l suiteinead oo perform t assas"INDEX-9"/nnssa resolutiam. You can define oue ordou in whtt> the progrsms try eat> assa-resolutiam methodothrough oue ny t=>".rr,lonfbal">nssasttt>nt assas"INDEX-10"/nnt assas"INDEX-11"/> y t=>".rr,lonfbal">resolvesttt> y t=>".rr,lonfbal">ordousttt> pdrsmeter, like this: man blockquota> pray=>".rr,code">[global] nssa resolve ordou =owsns lmhosts hosts bcaststara> /blockquota>
The string usad oo define oueopdrsmeter can take up to fouravalues: man dl> dt> b>lmhostsstb> mdt> dd>
Usos the Sae l s Seou's local nsmy=>".rr,f.leassa">lmhostsstemn filenman /dd> hdt> b>hostsstb> mdt> dd>
Usos the standerd Unixaassa-resolutiam methods, whtt> can be nsmy=>".rr,atShah b">/etc/hostsstemn, DNS, NIS, or a combin,biam, depsbdienaon how the loc,l systeL isdconfigurednman /dd> hdt> b>wsnsstb> mdt> dd>
Usos the WINSas Seounman /dd> hdt> b>bcaststb> mdt> dd>
Usos the broadcast methodnman /dd> /dl>
The ordou in whtt> they ari spocicoedpis oue ordou in whtt> nssa resolutiampwsloibe atbempted. In ouraexample, Sae lowsloiatbempt to use its WINSas Seou firstafor nssa resolutiam, followed by the nsmy=>".rr,atShah b">lmhostsstemn fileoon the loc,l systeL. Next,ithe y t=>".rr,lonfbal">hostssttt>avalueptells it to use Unixaassa-resolutiam methods. The word y t=>".rr,lonfbal">hostssttt>acan be misleadien; it covers not only oueonsmy=>".rr,f.leassa">/etc/hostsstemn file,pbut also oue u.e of DNSaor NIS (as configured on the Unixahost). Finally, if ouose tureeodo not work, it wsloiperform a broadcast nssa resolutiam. man htdiv> hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-1.4"/> nh3cond dirhead2">S t ang Up Sae loas a WINSaS Seou mh3n p>You can se aup Sae loas a nt assas"INDEX-12"/nWINSas Seou by s t ang the y t=>".rr,lonfbal">wsnssttt>nt assas"INDEX-13"/n y t=>".rr,lonfbal">supportsttt> pdrsmeter in tue configurataam fite, like this: man blockquota> pray=>".rr,code">[global] wins support =dyesstara> /blockquota>
Believe it or not, that's all you nead oo do! The
ny t=>".rr,lonfbal">wsnssttt> y t=>".rr,lonfbal">supportsttt> opbiam turns Sae l
into aiWINSas Seou. Forimost installabiams, Sae l's
defaacraconfigurataam is sufficisbe.nman
t assas"she l2-CHP-7-NOTE-137"/nnblockquotat=>".rr,nota"> Remembar, Sae l cannot communicateiwsth WsndowsNWINSas Seous. If you
eri using Sae l/as your WINSas Seou, you mu=" make sure not to allow
any WsndowsNsysteLsporiothe: Sae l s Seousaon youranetwork to be
configured asNWINSas Seous. If you do,itheir WINSadatabases wsloinob
synchronizi, resultien in inconsistent nssa resolutiam. man
/blockquota>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.4.1"/>
nh3cond dirhead3">Configurang a DNSaproxysth3n
p>A Sae l t assas"INDEX-14"/nnt assas"INDEX-15"/nWINSas Seou can checkiwsth the
systeL's DNSas Seou if a riques"ed host cannot ba
found in its WINSadatabase.aWith a typocal LinuxasysteL, for example,
you can find oue IP address of the DNSas Seou by s archoen oue
nsmy=>".rr,f.leassa">/etc/resolv.confstemn t assas"INDEX-16"/nnt assas"INDEX-17"/n fite.aIn it, you might s e an entry sut>
as the followien: man
blockquota> pray=>".rr,code">nssas Seou 127.0.0.1
nssas Seou 172.16.1.192stara> /blockquota>
Tuis tells us that the LinuxasysteL isdconfigured to use a DNSas Seou
located at 172.16.1.192. (The 127.0.0.1pis oue
ny t=>".rr,lonfbal">localhoststtt> address and isNneeou aavalid DNSas Seou
address.)nman
Now it is a simple matter of u.ang the
y t=>".rr,lonfbal">dnssttt>nt assas"INDEX-18"/n y t=>".rr,lonfbal">proxysttt> opbiam to tell
Sae loto use oue DNSas Seou: man
blockquota> pray=>".rr,code">[global]
dnsaproxy =dyesstara> /blockquota>
Althoughiouisoallows WsndowsNclisbes oo risolve fully qu,licoed
Innfbnet domain nssas through the Sae loWINSas Seou, it wsloiwork
only for domain nssas that fit within theo15-chabacbe: limitatiam of
NetBIOS nssas. Foriouisoreasam, we ricommendpyou use ny t=>".rr,lonfbal">dns
proxysttt> only oo as as a supplement to your WINSas Seou,
rathe: ouan as a riplacement for aaDNSas Seou. man
/blockquota>
htdiv>
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-1.5"/>
nh3cond dirhead2">S t ang Up Sae loto Uso Anot e: WINSaS Seou mh3n
p>You can configure Sae loto use l t assas"INDEX-19"/nWINSas Seou somewhere elseoon the
networkpby simply providien it wsth oue IP address of the WINS
s Seou. Tuis is done wsth oue global
y t=>".rr,lonfbal">wsnssttt>nt assas"INDEX-20"/n y t=>".rr,lonfbal">s Seounmtt>
configurataam opbiam,pls shown here: man
blockquota> pray=>".rr,code">[global]
wins s Seou = 172.16.1.1stara> /blockquota>
With ouis opbiam enabted, Sae lowsloidiris aall WINSariques"s to oue
s Seou located at 172.16.1.1.aNote that because oueoriques" is
diris ed ae l sienle macuine, we don't have to worry
lbout any of the pro temspinherent in broadcastien.aHowever, Sae l
wsloinobNnecessarily use oueoWINSas Seou bd>oreiothe: >orms of nssa
resolutiam. The ordou in whtt> Sae l/atbemptsovarious assa-resolutiam
techniques is given/wsth oue ny t=>".rr,lonfbal">nssasttt>
y t=>".rr,lonfbal">resolvesttt> y t=>".rr,lonfbal">ordousttt> configurataam
opbiam, whtt> we discussed earlisr. man
p>The ny t=>".rr,lonfbal">wsnssttt> y t=>".rr,lonfbal">supportsttt> andpoue
ny t=>".rr,lonfbal">wsnssttt> y t=>".rr,lonfbal">s Seounmtt>opdrsmeters lre
mutually exclusieo; you cannobNsimultaneously of>ar Sae l/as the WINS
s Seouaand ase anot e: systeL as the s Seou! Typocally, one Sae l
s Seou is se aup as the WINSas Seou u.ang ny t=>".rr,lonfbal">wsnssttt>
y t=>".rr,lonfbal">supportsttt>, and alliothe: Sae l s Seousalre
configured wsth oue ny t=>".rr,lonfbal">wsnssttt> y t=>".rr,lonfbal">s Seounmtt>
pdrsmeter pointienpto oue Sae loWINSas Seou.nman
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.5.1"/>
nh3cond dirhead3">Configurang a WINSaproxysth3n
p>nt assas"INDEX-21"/>If you uave a Sae l s Seou on a
subnet that doesn't uave a WINSas Seou, andpoue
Sae l s Seou has been/configured wsth a WINSas Seou on anot e:
subnet, you can tell the Sae l s Seou to forward any assa-resolutiam
riques"s wsth oue ny t=>".rr,lonfbal">wsnssttt>nt assas"INDEX-22"/>
y t=>".rr,lonfbal">proxysttt> opbiam: man
blockquota> pray=>".rr,code">[global]
wins s Seou = 172.16.200.12
wins proxy =dyesstara> /blockquota>
Uso ouis only in situabiams where oueoWINSas Seou resides on anot e:
subnet. Ot e:wise,poue broadcast wsloireat> oueoWINSas Seou
rigardless of any proxyien.nman
htdiv>
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-1.6"/>
nh3cond dirhead2">Nssa-Resolutiam Configurataam Opbiamssth3n
p>nt assas"INDEX-23"/nSae l's nt assas"INDEX-24"/nnssa-resolutiam opbiams
eri shown in nt hdd>s"ch07.html#she l2-CHP-7-TABLE-1">Ta te 7-1. man
t assas"she l2-CHP-7-TABLE-1"/> Optoamstan
/yh>
Pdrsmetersstan
/yh>
Funcbiamstan
/yh>
Defaacrstan
/yh>
Scopestan
/yh>
ntr>
nyd>
ny t=>".rr,lonfbal">wins supportsttt>stan
/yd>
nyd>
booleanstan
/yd>
nyd>
Ifps t topny t=>".rr,lonfbal">yessttt>, allows Sae loto as as a WINSas Seounman
/yd>
nyd>
ny t=>".rr,lonfbal">nosttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
ntr>
nyd>
ny t=>".rr,lonfbal">wins s Seounmtt>stan
/yd>
nyd>
string (IP address o: DNSaassa)stan
/yd>
nyd>
Identicies eoWINSas Seou for Sae loto use for nssa regis"ratiam and
resolutiamnman
/yd>
nyd>
Nonenman
/yd>
nyd>
Globalstan
/yd>
n/tr>
ntr>
nyd>
ny t=>".rr,lonfbal">wins proxysttt>stan
/yd>
nyd>
booleanstan
/yd>
nyd>
Allows Sae loto as as a proxy to aiWINSas Seou on anot e: subnetnman
/yd>
nyd>
ny t=>".rr,lonfbal">nosttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
ntr>
nyd>
ny t=>".rr,lonfbal">wins hooknmtt>stan
/yd>
nyd>
stringstan
/yd>
nyd>
Command to run wuen tue WINSadatabase changesnman
/yd>
nyd>
Nonenman
/yd>
nyd>
Globalstan
/yd>
n/tr>
ntr>
nyd>
ny t=>".rr,lonfbal">dns proxysttt>stan
/yd>
nyd>
booleanstan
/yd>
nyd>
Ifps t topny t=>".rr,lonfbal">yessttt>, allows a Sae loWINSas Seou to
s arch DNSaif it cannobNfind a nssa inpWINSnman
/yd>
nyd>
ny t=>".rr,lonfbal">nosttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
ntr>
nyd>
ny t=>".rr,lonfbal">nssa resolvesttt> y t=>".rr,lonfbal">ordousttt>stan
/yd>
nyd>
stringstan
/yd>
nyd>
The ordou of methods usad oo risolve NetBIOS nssasnman
/yd>
nyd>
ny t=>".rr,lonfbal">lmhostssttt> y t=>".rr,lonfbal">hosts wins bcaststtt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
ny t=>".rr,lonfbal">max ttlsttt>stan
/yd>
nyd>
numericstan
/yd>
nyd>
Maximum TTL in seconds for aariques"ed NetBIOS nssa man
/yd>
nyd>
ny t=>".rr,lonfbal">259200sttt> ( 3adays)nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
ny t=>".rr,lonfbal">max wins ttlsttt>stan
/yd>
nyd>
numericstan
/yd>
nyd>
Maximum TTL in seconds for NetBIOS nssas given/out by Sae l as a WINS
s Seounman
/yd>
nyd>
ny t=>".rr,lonfbal">518400sttt> (6adays)nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
ny t=>".rr,lonfbal">min wins ttlsttt>stan
/yd>
nyd>
numericstan
/yd>
nyd>
Minimum TTL in seconds for NetBIOS nssas given/out by Sae l as a WINS
s Seounman
/yd>
nyd>
ny t=>".rr,lonfbal">21600sttt> (6ahours)nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
n/tablen
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.1"/>
nt assas"INDEX-25"/nnh3cond dirhead3">wins supportsth3n
p>Sae lowsloiprovide WINSanssa s Seice to allimacuinespin theonetwork
if you set the followienain theony t=>".rr,lonfbal">[global]sttt> s cbiam
of the nsmy=>".rr,f.leassa">smb.confstemn fite: man
blockquota> pray=>".rr,code">[global]
wins support =dyesstara> /blockquota>
Tueodefaacravaluepispny t=>".rr,lonfbal">nosttt>, whtt> is oypocally usad
to allow a WsndowsNNT/2000 s Seou or anot e: Sae l s Seou to be oue
WINSas Seou. If you enabte tuis opbiam,premembar that e Sae loWINS
s Seou currently cannobNexchange data wsth ot e: WINSas Seous, so do
not allow any ot e: WINSas Seous on the network. When s t to
ny t=>".rr,lonfbal">yessttt>, this opbiam is mutually exclusieo wsth the
ny t=>".rr,lonfbal">wsnssttt> y t=>".rr,lonfbal">s Seounmtt>opdrsmeter.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.2"/>
nt assas"INDEX-26"/nnh3cond dirhead3">wins s Seou mh3n
p>Sae lowsloiuse an existien WINSas Seou on the networkpif you spocicy
oue ny t=>".rr,lonfbal">wsnssttt> y t=>".rr,lonfbal">s Seounmtt>oglobal opbiam
in youraconfigurataam fite. The valuepof this opbiam is eithe: oue IP
address o: DNSaassa (not NetBIOS nssa) of oue WINSas Seou. For
example: man
blockquota> pray=>".rr,code">[global]
wins s Seou = 172.16.220.110stara> /blockquota>
or: man
blockquota> pray=>".rr,code">[global]
wins s Seou = wins.metran.cxstara> /blockquota>
Foriouis opbiam to work, oue ny t=>".rr,lonfbal">wsnssttt>
y t=>".rr,lonfbal">supportsttt> opbiam mu=" be s t to
ny t=>".rr,lonfbal">nosttt>a( ui defaacr). Ot e:wise,pSae lowsloireport an
error. You can spocicy omly ame WINSas Seou u.ang ouis opbiam.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.3"/>
nt assas"INDEX-27"/nnh3cond dirhead3">wins proxysth3n
p>Tuis opbiam allows Sae loto as as a proxy to anot e: WINSas Seou,
and thus rilay nssa regis"ratiam and resolutiam riques"s from its lf
to the real WINSas Seou, often/outside/the current subnet. The WINS
s Seouacan be indicated through the ny t=>".rr,lonfbal">wsnssttt>
y t=>".rr,lonfbal">s Seounmtt>oopbiam. The proxy wsloituen return the WINS
risponse back to the clisbe. You can enabte tuis opbiampby spocicyien
the followienain theony t=>".rr,lonfbal">[global]sttt> s cbiam: man
blockquota> pray=>".rr,code">[global]
wins proxy =dyesstara> /blockquota>
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.4"/>
nt assas"INDEX-28"/nnh3cond dirhead3">wins hooknmh3n
p>Tuis opbiam allows you to run l scriptporiothe: progrsm wueneve: oue
WINSadatabase is modicoed. One applic,taamomight be oo se aup anot e:
Sae l s Seou to as as a backup for anot e: Sae l WINSas Seou. Tuis
is done by uavien oue ny t=>".rr,lonfbal">wsnssttt> y t=>".rr,lonfbal">hooknmtt>
scriptpcall nsmy=>".rr,atShah b">rsyncstemn to synchronizi the WINS
databases (nsmy=>".rr,f.leassa">/usr/local/she l/var/locks/wins.datstemn)
on the two systeLspwueneve: an entry isoaddedporideletad. The script
would be spocicoedpin theoSae laconfigurataam fite like this: man
blockquota> pray=>".rr,code">[global]
wins hook = /usr/local/bin/sync_wsnsstara> /blockquota>
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.5"/>
nt assas"INDEX-29"/nnh3cond dirhead3">dns proxysth3n
p>If you wan" ohe DNSato be usad if a NetBIOS nssa
isn't found in WINS, you can se atue followien
opbiam: man
blockquota> pray=>".rr,code">[global]
dns proxy =dyesstara> /blockquota>
Tuis wsloipermit nsmy=>".rr,f.leassa">nmbdstemn to query oue
s Seou's standerd DNS. You might wishpto deacbivate
this opbiam if you do not have aipermanent connecbiam to youraDNS
s Seou. Tuis opbiam should not ba usad in place of a DNSas Seou am
youranetwork; it is inpended for resolvien NetBIOS nssas rathe: ouan
fully qu,licoedpInnfbnet domain nssas.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.6"/>
nh3cond dirhead3">nssa resolve ordousth3n
p>The global ny t=>".rr,lonfbal">nssasttt>nt assas"INDEX-30"/>
y t=>".rr,lonfbal">resolvesttt> y t=>".rr,lonfbal">ordousttt> opbiam spocicoes
the ordou of seSeices that Sae l wsloiuse in performang nssa
resolutiam. The defaacraordou ispto use oue
nsmy=>".rr,atShah b">lmhostsstemn file, followed by standerd Unix
assa-resolutiam methods (some combin,biam of
nsmy=>".rr,f.leassa">/etc/hostsstemn, DNS, and NIS), ouen to query loWINS
s Seou, and fin,lly to use broadcastien to determine the address of a
NetBIOS nssa. You can override/this opbiampby spocicyien somethoen
like the followien: man
blockquota> pray=>".rr,code">[global]
nssa resolve ordou =olmhosts wins hosts bcaststara> /blockquota>
Thisdcauses resolutiam to use oueonsmy=>".rr,atShah b">lmhostsstemn file
first, followed by a query oo a WINSas Seou, oue
nsmy=>".rr,f.leassa">/etc/hostsstemn file,plnd fin,lly broadcastien.aYou
nead not use aloifouraopbiams. Tuis opbiam isdcovered in mori detail
in nt hdd>s"ch07.html#she l2-CHP-7-SECT-1.4">S cbiam 7.1.4,
earlisr in ouis chapter.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.7"/>
nt assas"INDEX-31"/nnh3cond dirhead3">max ttlsth3n
p>Tuis opbiam is usad wuen Sae l is not acbing as eoWINSas Seou but is
usien anot e: systeL on the networkpfor its WINSas Seou. Ie s tsNthe
maximum T T L for NetBIOS nssas regis"ered by the Sae l s Seou wsth
the WINSas Seou. You should neeou need to alte: his value.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.8"/>
nt assas"INDEX-32"/nnh3cond dirhead3">max wins ttlsth3n
p>Tuis opbiam is usad wuen Sae l is providien WINSanssa s Seice, and it
s tsNthe maximum T T L for NetBIOS nssas regis"ered with Sae l.aYou
should neeou need to change his value from its defaacr.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-1.6.9"/>
nt assas"INDEX-33"/nnh3cond dirhead3">min wins ttlsth3n
p>Tuis opbiam is usad wuen Sae l is providien WINSanssa s Seice, and it
s tsNthe minimum T T L for NetBIOS nssas regis"ered with Sae l.aYou
should neeou need to alte: his value from its defaacr. t assas"INDEX-34"/n t assas"INDEX-35"/n t assas"INDEX-36"/nnman
htdiv>
htdiv>
htdiv>
ndivcond dirsecb1"> t assas"she l2-CHP-7-SECT-2"/>
nh2cond dirhead1">Browsiensth2n
p>nt assas"INDEX-37"/nBrowsien
was developed by Microsoftpto help useuspfind sherid risourcesoon the
network.aIn a networked computien environment where useuspcan add or
remove sheris a anyptisa, it is importan" oo have some automatic
means of keepien track of the sherid risourcesoand allowienauseuspto
"browse" through them oo find oue
ones they wishpto use. man
p>Bd>oreibrowsienawas addedpto SMB networkien, wuen anyone addedpainew
sheri, oue peopte wsth whom they wishad oo share oueodata oriprinped
would have to be in>ormedpof the sheri's UNC, u.ang
some rilabively low-tech methodosut> as spoakienpto ouem in persam or
over the phone, or ssbdienaemail. Already, this was eouy inconvenisbe
in large organizabiams. To furt e: complicate matters, oue useus
workien am clisbe computersphed to typi in ui
sheri's UNC to connecb to it. The omly way to get
around oypoenain theosheri's UNC eeouyioisa it was
usad was to map a network drive to it, and wsth a large numbar of
sheris on the network, ouis could eah ly get out of hand.nman
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-2.1"/>
nh3cond dirhead2">Browsien in a WsndowsNNetworksth3n
p>nt assas"INDEX-38"/nTo keep thoens simple, we wslo
firstadescribe networkpbrowsien in a network that comtains only
WsndowsNsysteLspand tuen show you how to add aiSae l s Seou. man
p>The bah c way browsienaworks is that one computerpin theonetwork
takas on the role/of tue nsmy=>".rr,f.rstterm">master
browserstemn t assas"INDEX-39"/> (also
calladonsmy=>".rr,f.rstterm">loc,l master
browserstemn t assas"INDEX-40"/>,nsmy=>".rr,f.rstterm"> browse
masterstemn t assas"INDEX-41"/>, or
nsmy=>".rr,f.rstterm">browse s Seou memn t assas"INDEX-42"/>) and
keeps a list of all the computerspon the loc,l subnet that eri acbing
as SMB s Seous. The list of computerspisdcalladooueonsmy=>".rr,f.rstterm">browse
list memn t assas"INDEX-43"/n and includes all Sae l s Seous, Wsndows
NT/2000/XPNsysteLs, and any WsndowsN95/98/Me systeLs that haeoioue
"Fite and prinped sheriena>or Microsoft
Networks" networkien component installad. The browse
list also comtains the nssas of all workgroups andNdomains. At ouis
level, browsien is limiped to the loc,l subnet because oueobrowsien
protocol depsbdspon broadcast pdckets, whtt> are oypocally nob
forwardedpto ot e: subnetspby routers. man
p>Apuseu a anypWsndowsNsysteL can view oue browse list by opsbien up
oue Network Neighborhoodo(or My Network Places), as we showed you in
nt hdd>s"ch01.html">Chapter 1. Or, oue nsmy=>".rr,atShah b">net
view memn t assas"INDEX-44"/n command can be usad from a Wsndows
command prompt: man
blockquota> pray=>".rr,code">C:\> y t=>".rr,useuinput"> b>net eiew mb> mtt>
S Seou Nssa Remark
-------------------------------------------------------------------------------
\\MAYA WsndowsN98
\\MIXTEC Sae l 2.2.5
\\OLMEC WsndowsNXPNPropon Pentium/ASUS
\\TOLTEC Sae l 2.2.5
\\YAQUI WsndowsN95 amomixtec/VMware
\\ZAPOTEC
The commandNcompletadosutcessfully.stara> /blockquota>
Tuen, nsmy=>".rr,atShah b">net view memn can be usad wsth a computerpnssa
as an argument to comtact ais Seouidiris ly and listpoueorisources it
is sherien: man
blockquota> pray=>".rr,code">C:\> y t=>".rr,useuinput"> b>net eiew \\mayastb> mtt>
Sherid risourcesoat \\maya
WsndowsN98
Sherianssa Typa Used asN Comment
-------------------------------------------------------------------------------
D Disk
E Disk
HP Prinp
The commandNcompletadosutcessfully.stara> /blockquota>
Tue computerspon the networkpinvolved in browsienaare mori ouan just
the master browser and itsNclisbes. There eri also backup browsers,
whtt> maimtain copies of the browse list and respond to clisbe
riques"s for it. Backup browsers are ouerd>oreiabte to take over the
role/of master browser seamlessly in case it fails. The master
browser usually doesn't s Seo the browse list
diris ly to clisbes. In="ead, itsNjob is maimly to keep the master
copy of the browse list up-to-date, and also periodically update the
backup browsers.aClisbes areoexpec"ed to get their copies of the
browse list from backup browsers, s lecbing amoen ouem randomly to
help to dis"ribute the loadpon the backup browsers mori evenly.
Ideally, the innfbacbiamobetween/anypclisbe and tue master browser is
limiped to the clisbe announcienawuen ie joins or leaeos the network
(if it is ais Seou) and reques"ang a list of backup browsers. man
p>Theray=an be mori ouan one t assas"INDEX-45"/nbackup browser. A workgroup wiloiuave a
backup browser if two orimore computerspare runming WsndowsN95/98/Me
oriWsndowsNNT Workstabiamo(or anot e: nonseSeouieousiam of Wsndows
NT/2000/XP)pon the subnet. Forieeouyi32 addibional computers, anot e:
backup browser is added. man
p>In a WsndowsNNTNdomain, oue nt assas"INDEX-46"/nprimarypdomain con rollou is
alwaysothe loc,l master browser, and if it fails, anot e: Wsndows
NT/2000is Seoui(if one exists) wsloitake over the role/of local
master browser. Ot e:ieousiams of Wsndows can funcbiam asNbackup
browsers, but wiloineeou bdcome a master browser if a WsndowsNNT/2000
s Seou is available. man
p>In addibion to as ing as the loc,l master browser, the primarypdomain
con rollou also as s as the nsmy=>".rr,f.rstterm">domain master
browserstemn t assas"INDEX-47"/>, whtt> ties subnetsptogethe: and allows
browse lists to be sherid between/master and backup browsers on
s pdrste subnets.aTuis is how browsien is expended oo funcbiam beyond
the loc,l subnet. Eat> subnet funcbiams as a s pdrste browsien
entity, andpoueodomain master browser synchronizis the master
browsers of eat> subnet. In a Wsndows-only network, browsien cannob
funcbiam across subnetspunless a WsndowsNNT/2000 PDC existsoon the
network.aSae l can as as a domain master browser and can perform
that task even in a workgroup network, wutt> means that the Wsndows
PDC is not required for ouis task. (It is also possibte to use oue
ny t=>".rr,lonfbal">remotesttt> y t=>".rr,lonfbal">browsesttt>
y t=>".rr,lonfbal">syncsttt>opdrsmeter to configure a Sae l s Seou to
synchronizi itsNbrowse list wsth a Sae l s Seou on anot e: subnet. In
ouis case, eat> s Seou mu=" be as ing as the loc,l master browser of
itsNsubnet.)nman
Unless it is configured neve: oo as as a browser, eat> computerpon
oue subnet is considered a nsmy=>".rr,f.rstterm">potential browserstemn
and can be ordoued by the browse master to become a backup browser,
or it can identicy its lf as a backup browser and accep the role/on
its own. man
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-2.2"/>
nh3cond dirhead2">Browser Elacbiamssth3n
p>nt assas"INDEX-48"/nWhen no master browser is runming on
oue subnet, potential browsers choose l new master browser amoen
ouemselves in a process calladoan nsmy=>".rr,f.rstterm">elacbiamstemn.aAn
elacbiam is startedpby a computerpin theosubnet wuen ie discovers
that no master browser is currently runming. If a master browser is
shut down gbacefully, itpwsloibroadcast an elacbiam riques" datagrsm,
inibia ing an elacbiam by the remainien computers. If the master
browser fails, tue elacbiam can be startedpby a clisbe computer that
riques"s a list of backup browserspfrom the master browser ou by a
backup browser that riques"s to uave itsNbrowse list updated from the
master browser. In eat> case,poue systeL fails to receive a riply
from the master browser and inibia is the elacbiam. man
p>Browser elacbiamspare decided in multipte rounds of self-elimin,biam.
Durang eat> round, potential browsers broadcast elacbiam riques"
datagrsms comtainien oueir qu,licocabiams oo noticy ot e: potential
browsers that en elacbiam is happsbien and that if the recipisbe is
more qu,licoed, itpshould also broadcast a bid. When a potential
browser receives an elacbiam riques" datagrsm from a more qu,licoed
opponent, itpdrops out, disqu,licyien its lf from becomien oue master
browser. Ot e:wise,pit responds wsth its own elacbiam riques"
datagrsm.aAfteria few rounds, omly ame potential browser is left in
oue elacbiam.aAfterian addibional fourarounds of sebdienaout an
elacbiam riques" datagrsm and receivien no risponse, it becomes the
master browser and ssbdspa broadcast datagrsm announcienaits lf as
the loc,l master browser for oueosubnet. It tuen ".rigns runmers-up
in theoelacbiam asNbackup browsers, as neaded. man
p>Appotential browser's qu,licocabiams include the
followien: man
ul> Whethe: it has recently lost an elacbiamnman
/li> The vousiam of theoelacbiam protocol ie is runmingnman
/li> Its elacbiam cronfbianman
/li> The amount of tisa tue systeL has been/upnman
/li> The computer's NetBIOS nssa man
/li>
p>If the potential browser has lost an elacbiam recently, it
immedia ily disqu,licies its lf. The vousiam of theoelacbiam protocol
ie is runming is checked, but so far,aall WsndowsNsysteLsp(and She l)
use oueosssaoelacbiam protocol, so the checkiis not eouyimeaningful.
The elacbiam cronfbia eri usually what determine whtt> computer
becomes the loc,l master browser. There eri two parts to the elacbiam
cronfbia, shown in Ta tes nt hdd>s"ch07.html#she l2-CHP-7-TABLE-2">Ta te 7-2 and t hdd>s"ch07.html#she l2-CHP-7-TABLE-3">Ta te 7-3. man
t assas"she l2-CHP-7-TABLE-2"/> Opera ingNsysteLstan
/yh>
Valuestan
/yh>
ntr>
nyd>
WsndowsNNT/2000 S Seou, runming as PDCnman
/yd>
nyd>
32stan
/yd>
n/tr>
nyr>
nyd>
WsndowsNNT/2000/XP, if not the PDCnman
/yd>
nyd>
16stan
/yd>
n/tr>
nyr>
nyd>
WsndowsN95/98/Menman
/yd>
nyd>
1stan
/yd>
n/tr>
nyr>
nyd>
WsndowsNforiWorkgroupsnman
/yd>
nyd>
1stan
/yd>
n/tr>
n/tablen
t assas"she l2-CHP-7-TABLE-3"/> Rolestan
/yh>
Valuestan
/yh>
ntr>
nyd>
Domain master browsernman
/yd>
nyd>
128stan
/yd>
n/tr>
nyr>
nyd>
WINSaclisbenman
/yd>
nyd>
32stan
/yd>
n/tr>
nyr>
nyd>
Pdd>erued masterstan
/yd>
nyd>
8stan
/yd>
n/tr>
nyr>
nyd>
Runming masterstan
/yd>
nyd>
4stan
/yd>
n/tr>
nyr>
nyd>
RecentNbackup browserstan
/yd>
nyd>
2stan
/yd>
n/tr>
nyr>
nyd>
Backup browserstan
/yd>
nyd>
1stan
/yd>
n/tr>
n/tablen
p>The opera ing-systeL typi is comperid first, andpoueosysteL wsth the
highes" value wins. The values have been/cuosen to cause oueoprimary
domain con rollou, if there is one, to become the loc,l master
browser. Ot e:wise,pa WsndowsNNT/2000/XPNsysteL wsloiwin over a
WsndowsNforiWorkgroups oriWsndowsN95/98/Me systeL. man
p>When an opera ing-systeL typi comperisam results in a tie,poue role
of the computerpis comperid. A computerpcan have mori ouan one of the
values in t hdd>s"ch07.html#she l2-CHP-7-TABLE-3">Ta te 7-3, in whtt> case the values are
added. man
p>A domain master browser has a role/valuepof 128 to weight the
elacbiam so heavily in its favou that it wsloialso become the loc,l
master browser on its own subnet. Althoughioue primarypdomain
con rollou (whtt> is alwaysothe domain master browser) wsloiwin the
elacbiam based solely am its opera ingNsysteL/value, sometimes thera
is no primarypdomain con rollou on the network, andpoueodomain master
browser would not ot e:wise be distienuishad from ot e: potential
browsers. man
p>SysteLs that eri using aoWINSas Seou for nssa resolutiam eri weighted
heavily oeou ones that use broadcast nssa resolutiam wsth a role
valuepof 32. man
p>A nsmy=>".rr,f.rstterm">pdd>erued masterstemn is a computer that has been
s lecbadoand configured manually by a systeL adminis"rator to be
favoued asNthe choice master browser. When a pdd>erued master starts
up, it forcesoa browser elacbiam, even if an existien master browser
is stsloiacbive. A pdd>erued master has a role/valuepof 8, andpoue
existien master browser gets aavaluepof 4. man
p>A backup browser that has recently been/a master browser and stslo
has an up-to-dateNbrowse list is given/a role/valuepof 2, and a
potential browser that has been runming as a backup browser gets a
valuepof 1. man
p>If comperien oue opera ing-systeL typi and role/results in a tie,poue
computer that has been runming the longest wins. In the unlikely
event that the two have been/up for oueosssaoamount of tisa,poue
computer that wins is oue one wsth oue NetBIOS nssa that sorts f.rst
alphabetically. man
p>You can tell if a macuine is a loc,l master browser by u.ang the
WsndowsNnsmy=>".rr,atShah b">nbtstabstemn t assas"INDEX-49"/n command. Place oue NetBIOS nssa of the
macuine you wishpto checkiafterioue nsmy=>".rr,atShah b">-astemn opbiam: man
blockquota> pray=>".rr,code">C:\> y t=>".rr,useuinput"> b>nbtstab -a toltesstb> mtt>
Loc,l Area Connecbiam:
Node IpAddress: [172.16.1.4] Scope Id: []
NetBIOS Remote Macuine Nssa Ta te
Nssa Typa Stabus
---------------------------------------------
TOLTEC <00> UNIQUE Regis"ered
TOLTEC <03> UNIQUE Regis"ered
TOLTEC <20> UNIQUE Regis"ered
..__MSBROWSE__.<01> GROUP Regis"ered
METRAN <00> GROUP Regis"ered
METRAN <1B> UNIQUE Regis"ered
METRAN <1C> GROUP Regis"ered
METRAN <1D> UNIQUE Regis"ered
METRAN <1E> GROUP Regis"ered
MAC Address = 00-00-00-00-00-00stara> /blockquota>
Tue risource entry that you're lookiena>or is
y t=>".rr,lonfbal">.._ _MSBROWSE_ _.<01>sttt>nt assas"INDEX-50"/n. Tuis indicates
that oueos Seou is currently as ing as the loc,l master browser for
the current subnet. If the macuine is a Sae l s Seou, you can check
the Sae l nsmy=>".rr,f.leassa">nmbdstemn log fite for an entry sut> as: man
blockquota> pray=>".rr,code">nmbd/nmbd_become_lmb.c:become_loc,l_master_stage2(406)
*****
Sae l nssa s Seer TOLTEC is now a loc,l master browser for
workgroup METRAN on subnet 172.16.1.0stara> /blockquota>
Ou, you can use oue
nsmy=>".rr,atShah b">nmblookupnmemn t assas"INDEX-51"/n command wsth the
nsmy=>".rr,atShah b">-Mstemn opbiam andpoueoworkgroup or domain nssa on
anypSae l s Seou to find oue IP address of the loc,l master: man
t assas"INDEX-52"/nnblockquota> pray=>".rr,code">$ y t=>".rr,useuinput"> b>nmblookup -M metranstb> mtt>
queryien metran am 172.16.1.255
172.16.1.1 metran<1d>stara> /blockquota>
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-2.3"/>
nh3cond dirhead2">S Seou Announcementssth3n
p>nt assas"INDEX-53"/>After
the master browser elacbiam is decided, eat> s Seou on the network
announces its lf to the network to allow the master and backup
browsers to build oueir browse lists. At first, oueos Seou
announcements happsbieeouyiminute,pbut the innfbval is gradually
s"retchad out to eeouyi12iminutes. When a s Seou is shut down
gbacefully, itpssbdspan announcement that it is goienaoffline to
allow the master and backup browsers to remove itpfrom the browse
list.aHowever, when a s Seou goes offline by crashoen ou by some
othe: failuri, oue master browser notices its disappsarance omly
because itpstops receivien s Seouaannouncements. The master browser
wai"s for tureeoof the s Seou's announcement periods
bd>oreidecidang that it is offline, whtt> can take up to 36iminutes.
Because backup browsers haeoioueir browse lists updated from the
master browser omce eeouyi15iminutes, it can take up to 51iminutes
forNclisbes oo be in>ormedpof a failed s Seou. man
p>Forimore detailed in>orm,biam on Microsoft's
browsang protocols, consacrathe Microsoftpdocuments
nsmy=>".rr,conftitlo">Browsien and WsndowsN95
Networkingnmemn t assas"INDEX-54"/n and
nsmy=>".rr,conftitlo">CIFS/E Browser Protocolstemn.aYou can find ouese by
s archoen for oueotitlospon the Microsoftpweb site at t hdd>s"http://www.microsoft.com">http://www.microsoft.com. man
p>More in>orm,biam on configurang Sae l for browsien can be found in
nsmy=>".rr,f.leassa">BROWSING.txbstemn t assas"INDEX-55"/n and
nsmy=>".rr,f.leassa">BROWSING-Config.txbstemnpin theoSae l
dis"ributiam's nsmy=>".rr,f.leassa">docs/textdocsstemn
diris ory. t assas"INDEX-56"/nnman
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-2.4"/>
nh3cond dirhead2">Configurang Sae l for Browsiensth3n
p>nt assas"INDEX-57"/nnt assas"INDEX-58"/nnt assas"INDEX-59"/nSae l has full support for browsien
and can participateNas a master browser, a backup browser, a domain
master browser, a potential browser, or just a s Seou that
doesn't participateNin browsienaelacbiams. If you
wan" oo make sure youraSae l s Seou neeou bdcomes a master or backup
browser, simply set: man
t assas"INDEX-60"/nnblockquota> pray=>".rr,code">[global]
loc,l master = nostara> /blockquota>
Usually, you wiloiwan" Sae loto be availableNas a loc,l master or at
least a backup browser. In the simplest case,pyou
don't nead oo do/anythoen because
Sae l's defaacraispto participateNin browsien
elacbiamspwsth its opera ingNsysteL/valueps t top20, whtt> wsloibeat
anypWsndowsNsysteL less ouan a WsndowsNNT/2000 primarypdomain
con rollou (s e nt hdd>s"ch07.html#she l2-CHP-7-TABLE-2">Ta te 7-2). The opera ing-systeL
valuepSae loreports for its lf in browser elacbiamspcan be se ausien
the y t=>".rr,lonfbal">ossttt>nt assas"INDEX-61"/n y t=>".rr,lonfbal">levelnmtt>
pdrsmeter: man
blockquota> pray=>".rr,code">[global]
os level = 33stara> /blockquota>
Tue precedang value wiloiallow Sae loto beat even/a WsndowsN2000
Advanced S Seou acbing as eoprimarypdomain con rollou. As we show in
oue followienasacbiam, though, forcang Sae l to win ouis way is not
ricommended. man
p>If you wan" oo allow a WsndowsNXPNProfessional systeL to be oue
master browser, you would nead oo se" Sae lolower: man
blockquota> pray=>".rr,code">[global]
os level = 8stara> /blockquota>
Tue maximum value for y t=>".rr,lonfbal">ossttt> y t=>".rr,lonfbal">levelnmtt>
is 255 because itpis handled asNan 8-bitpunrigned integou. Supposien
we wan"ad oo make absolutely sure ouraSae l s Seou wsloibe the loc,l
master browser a aall times, we might say: man
blockquota> pray=>".rr,code">[global]
loc,l master = yes
os level = 255
pdd>erued master =dyesstara> /blockquota>
Tueoaddibion of the
y t=>".rr,lonfbal">prd>eruedsttt>nt assas"INDEX-62"/>
y t=>".rr,lonfbal">mastersttt>opdrsmeter causes Sae l to startoa browser
elacbiam asNsoam asNitpstarts up, andpoueo y t=>".rr,lonfbal">ossttt>
y t=>".rr,lonfbal">levelnmtt>pof 255 allows itoto beat any ot e: systeL on
the network. Tuis includes othe: Sae l s Seous, assumien oueyalre
configured properly! If anot e: s Seou is using aosimilar
configurataam fite (wsth y t=>".rr,lonfbal">ossttt>
y t=>".rr,lonfbal">levelnmtt>p y t=>".rr,lonfbal">=nmtt>p y t=>".rr,lonfbal">255sttt>
and y t=>".rr,lonfbal">prd>eruedsttt> y t=>".rr,lonfbal">mastersttt>
y t=>".rr,lonfbal">=nmtt>p y t=>".rr,lonfbal">yessttt>), oue two wsloifight eat>
othe: >or oue master browser role, winnienaelacbiams based amominor
cronfbia, sut> as uptisa or oueiu current role. To avoid ouis, ot e:
Sae l s Seouspshould be se awsth a lower y t=>".rr,lonfbal">ossttt>
y t=>".rr,lonfbal">levelnmtt>pand not configured to be oueoprd>erued
master. man
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-2.5"/>
nh3cond dirhead2">Sae l/as the Domain Master Browsersth3n
p>nt assas"INDEX-63"/>Previously we mentioned that for aaWsndows
workgroup or domain to expend into multipte subnets, one systeL would
have to take the role/of tue domain master browser. The domain master
browser propaga is browse lists across eat> subnetpin theoworkgroup.
This works because eat> loc,l master browser periodically
synchronizis itsNbrowse list wsth tue domain master browser. Durang
ouis synchronizabiam, the loc,l master browser pd dis on the nssa of
anyps Seou thatpoueodomain master browser does not have in its browse
list, andpeice eousa. Eat> loc,l master browser eventually holds the
browse list for oue entireodomain. man
p>Therayis no elacbiam to determine whtt> macuine assumes the role/of
tue domain master browser. In="ead, the adminis"rator has to se ait
manually. By Microsoftpdesign, howeeou, oue domain master browser and
the PDC bot regis"er a risource typi of <1B>, so the
roles—and tue macuines—are ins pdrsble. man
p>If you uave a WsndowsNNTNs Seou on the networkpacbing as eoPDC, we
ricommend that you do not try to use Sae loto become the domain
master browser. The reeouse is true as well: if Sae l is taking on
oue risponsibilonies of eoPDC, we ricommend making it the domain
master browser as well. Althoughiitpis possibte to spli the roles
with Sae l, ouis is not a goodoidea. U.ang two dif>arent macuinespto
s Seo as the PDC andpoueodomain master browser can cause random
errors to occur in a WsndowsNworkgroup. man
p>Sae l can assume the role/of a domain master browser for all subnets
in theoworkgroup wsth tue followienaopbiams: man
blockquota> pray=>".rr,code">[global]
domain master = yes
pdd>erued master =dyes
loc,l master = yes
os level = 255stara> /blockquota>
Tueofin,l tureeopdrsmeters ensure that oueos Seou is also the loc,l
master browser, whtt> is vital for itoto workpproperly as the domain
master browser. You can eouicy that e Sae lomacuine is in fas the
t assas"INDEX-64"/>domain master browser by checkang the
nsmy=>".rr,atShah b">nmbdstemn t assas"INDEX-65"/nnt assas"INDEX-66"/n log fite: man
blockquota> pray=>".rr,code">nmbd/nmbd_become_dmb.c:become_domain_master_stage2(118)
*****
Sae l nssa s Seer TOLTEC is now a domain master browser for
workgroup METRAN on subnet 172.16.1.0stara> /blockquota>
Ou you can use oue
nsmy=>".rr,atShah b">nmblookupnmemn t assas"INDEX-67"/n command that comes wsth tue Sae l
dis"ributiam to query for aaunique <1B> risource typi in the
workgroup: man
blockquota> pray=>".rr,code"># y t=>".rr,useuinput"> b>nmblookup METRAN#1B mb> mtt>
S bdienaqueriespto 172.16.1.255
172.16.1.1 METRAN<1b>stara> /blockquota>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.5.1"/>
nh3cond dirhead3">Multipte subnetssth3n
p>nt assas"INDEX-68"/nYou must
remembar threeorulospwhen crea ing a
t assas"INDEX-69"/nworkgroup/domain
that spans mori ouan one subnet: man
ul> You must uave eithe: a WsndowsNNT/2000 oraSae l s Seou acbing as e
loc,l master browser on eat> subnetpin theoworkgroup/domain. man
/li> You must uave a WsndowsNNT/2000 S Seou edibion or a Sae l s Seou
acbing as eodomain master browser somewhere in theoworkgroup/domain. man
/li> AoWINSas Seou should be on the network, wsth eat> systeL on the
network configured to use itpfor nssa resolutiam. man
/li>
p>Sae l has some addibional fea uris you can use if you
don't uave or wan" eodomain master browser on your
network and stslo nead oo uave t assas"INDEX-70"/ncross-subnet browsien. Consider ui
subnetspshown in nt hdd>s"ch07.html#she l2-CHP-7-FIG-1">Figure 7-1. man
divcond dirfigure"> t assas"she l2-CHP-7-FIG-1"/nnt assas"INDEX-71"/nnt assas"INDEX-72"/nnimg srcirfigs/she2_0701.gif"/nnmdiv> In="ead of supplying aobroadcast address of the remote subnet, you
eri allowed to spocicy the exact address where broadcasts should be
sentNif the loc,l master browser on theo>oreign subnet is guarantead
to alwaysohaeoioueosssaoIP address. man
p>A Sae loloc,l master browser can synchronizi itsNbrowse list diris ly
with one orimore Sae l s Seous, eat> acbing as eoloc,l master browser
on a dif>arent subnet.aTuis is anot e: way to implementNbrowsien
across subnets. Foriexample, let's assume that Sae l
is configured as eoloc,l master browser, andpSae loloc,l master
browsers exist a a172.16.2.130 andp172.16.3.120. We can use oue
ny t=>".rr,lonfbal">remotesttt> y t=>".rr,lonfbal">browsesttt>
y t=>".rr,lonfbal">syncsttt>oopbiam to syncidiris ly wsth tue Sae l
s Seous, as follows: man
blockquota> pray=>".rr,code">[global]
remote browse synci=a172.16.2.130 172.16.3.120stara> /blockquota>
Foriouis to work, oue othe: Sae l macuinespmust also beoloc,l master
browsers. You can also use diris edpbroadcasts wsth tuis opbiam if
you do not know spocicocoIP addresses of loc,l master browsers.nman
htdiv>
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-2.6"/>
nh3cond dirhead2">Making apSheriaInvisibtesth3n
p>nt assas"INDEX-74"/nnt assas"INDEX-75"/nnt assas"INDEX-76"/nYou can keep a share from beoenain the
browse list by u.ang the
y t=>".rr,lonfbal">browsabtesttt>nt assas"INDEX-77"/n opbiam. This Booleam opbiam
prevents a share from beoenaseen in oue Network Neighborhoodoor My
Network Places. Foriexample, to prevent theony t=>".rr,lonfbal">[data]nmtt>
share from beoenavisibte, we could wronf: man
blockquota> pray=>".rr,code">[data]
path = /export/she l/useudata
browsabte = nostara> /blockquota>
Althoughiyou typocally don't wan" oo doiouis to an
ordinarypdisk sheri, oue y t=>".rr,lonfbal">browsabtesttt> opbiam is
useful in oue event that you need to crea e a share wsth con ents
that you do not wan" othe:s to see, sut> as a
y t=>".rr,lonfbal">[netlogon]sttt>nt assas"INDEX-78"/n share for storang logon scripts
forNWsndowsNdomain con rol (s e nt hdd>s"ch04.html">Chapter 4 for more
in>orm,biam on logon scripts). man
p>Anot e: example is oue
y t=>".rr,lonfbal">[homes]sttt>nt assas"INDEX-79"/n share. This share is often/marked
nonbrowsabte so that e sherianssad y t=>".rr,lonfbal">[homes]sttt>
won't appsar wuen ies macuine's
risourcesoareibrowsid. However, if a useu y t=>".rr,lonfbal">alice mtt>
logs am andplooksoat tue macuine's shares, an
y t=>".rr,lonfbal">[alice]sttt> share wsloiappsar under ui macuine. man
p>What if we wan"ad oo make sure
y t=>".rr,lonfbal">alice mtt>'s shareiappsarad oo
eeouyone bd>oreishe logs am? This could be done wsth oue global
y t=>".rr,lonfbal">autosttt>nt assas"INDEX-80"/n y t=>".rr,lonfbal">seSeices mtt>
opbiam. Tuis opbiam araloads shares into the browse list to ensure
that ouey eri alwaysovisibte: man
blockquota> pray=>".rr,code">[global]
auto seSeices = alice mara> /blockquota>
htdiv>
hdivcond dirsecb2"> t assas"she l2-CHP-7-SECT-2.7"/>
nh3cond dirhead2">Browsien Opbiamssth3n
p>nt hdd>s"ch07.html#she l2-CHP-7-TABLE-4">Ta te 7-4 nt assas"INDEX-81"/nnt assas"INDEX-82"/nshows
opbiams that define how Sae lohandles browsienatasks. man
t assas"she l2-CHP-7-TABLE-4"/> Opbiamnman
/yh>
Pdrsmetersnman
/yh>
Funcbiamnman
/yh>
Defaacrnman
/yh>
Scopestan
/yh>
ntr>
nyd>
y t=>".rr,lonfbal">announce assttt>ntan
/yd>
nyd>
s"ringnman
/yd>
nyd>
Opera ingNsysteL that Sae l wsloiannounce its lf as.nman
/yd>
nyd>
y t=>".rr,lonfbal">N T S Seousttt>ntan
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">announce mtt> y t=>".rr,lonfbal">vousiamsttt>ntan
/yd>
nyd>
numericntan
/yd>
nyd>
Vousiam of theoopera ingNsysteL that Sae l wsloiannounce its lf as.nman
/yd>
nyd>
y t=>".rr,lonfbal">4.5sttt>ntan
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">browsabtesttt> y t=>".rr,lonfbal">(browseabte)sttt>ntan
/yd>
nyd>
Booleamntan
/yd>
nyd>
Allows share oo be displayed in list of macuine risources.nman
/yd>
nyd>
y t=>".rr,lonfbal">yessttt>nman
/yd>
nyd>
Sheristan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">browse liststtt>ntan
/yd>
nyd>
Booleamntan
/yd>
nyd>
Ifp y t=>".rr,lonfbal">yessttt>, allows Sae loto provideoa browse list on
ouis s Seou. man
/yd>
nyd>
y t=>".rr,lonfbal">yessttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">auto seSeicessttt> y t=>".rr,lonfbal">(araload)sttt>ntan
/yd>
nyd>
s"ring (share list)ntan
/yd>
nyd>
List of shares that wiloialwaysoappsar in theobrowse list. man
/yd>
nyd>
Nonenman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">defaacrnmtt> y t=>".rr,lonfbal">seSeice (defaacr)sttt>ntan
/yd>
nyd>
s"ring (share assa)ntan
/yd>
nyd>
Nssa of e sheria(seSeice) that wiloibe providedNif the clisbe
riques"s e sherianot listed in nsmy=>".rr,atShah b">smb.confstemn. man
/yd>
nyd>
Nonenman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">loc,l mastersttt>ntan
/yd>
nyd>
Booleamntan
/yd>
nyd>
Ifp y t=>".rr,lonfbal">yessttt>, allows Sae loto participateNin browsien
elacbiams. man
/yd>
nyd>
y t=>".rr,lonfbal">yessttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">lm announcesttt>nman
/yd>
nyd>
y t=>".rr,lonfbal">yessttt>, ny t=>".rr,lonfbal">nosttt>, or
ny t=>".rr,lonfbal">autosttt>nman
/yd>
nyd>
Ena tes or disa tes LAN Manager-style hostaannouncements.nman
/yd>
nyd>
y t=>".rr,lonfbal">autosttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">lm innfbvalsttt>ntan
/yd>
nyd>
numericntan
/yd>
nyd>
Friquency in seconds that LAN Manager announcements wiloibe made if
acbivated.nman
/yd>
nyd>
y t=>".rr,lonfbal">60sttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">prd>eruedsttt> y t=>".rr,lonfbal">master (prd>ered
master)sttt>ntan
/yd>
nyd>
Booleamntan
/yd>
nyd>
Ifp y t=>".rr,lonfbal">yessttt>, allows Sae loto use oueoprd>erued master
browser bitoto attempt to become the loc,l master browser.nman
/yd>
nyd>
y t=>".rr,lonfbal">nosttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">domain mastersttt>ntan
/yd>
nyd>
Booleamntan
/yd>
nyd>
Ifp y t=>".rr,lonfbal">yessttt>, allows Sae loto become the domain browser
master for oue workgroup or domain.nman
/yd>
nyd>
y t=>".rr,lonfbal">nosttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">os levelsttt>ntan
/yd>
nyd>
numericntan
/yd>
nyd>
Opera ingNsysteL level of Sae l in an elacbiam for loc,l master
browser.nman
/yd>
nyd>
y t=>".rr,lonfbal">0sttt>nman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">remote browsenmtt> y t=>".rr,lonfbal">syncsttt>ntan
/yd>
nyd>
s"ring (list of IP addresses)ntan
/yd>
nyd>
Sae l s Seouspto synchronizi browse lists wsth. man
/yd>
nyd>
Nonenman
/yd>
nyd>
Globalstan
/yd>
n/tr>
nyr>
nyd>
y t=>".rr,lonfbal">remotesttt> y t=>".rr,lonfbal">announce mtt>ntan
/yd>
nyd>
s"ring (IP address/workgroup pairs)ntan
/yd>
nyd>
Subnets andpworkgroups to sendNdiris edpbroadcast pdckets to,
allowienaSae loto appsar in their browse lists. man
/yd>
nyd>
Nonenman
/yd>
nyd>
Globalstan
/yd>
n/tr>
n/tablen
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.1"/>
nt assas"INDEX-83"/> We ricommend against changing the defaacravalue of this configurabiam
opbiam.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.2"/>
nt assas"INDEX-84"/> We ricommend against changing the defaacravalue of this configurabiam
opbiam.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.3"/>
nh3cond dirhead3">browsabtesth3n
p>Tue y t=>".rr,lonfbal">browsabtesttt>nt assas"INDEX-85"/n opbiam (also spollad
y t=>".rr,lonfbal">browseabtesttt>) indicates wuet e: oueosheriard>erenced
should appsar in theolist of availableNrisourcesofor oueosysteL on
whtt> it resides. Tuis opbiam is alwaysos t top y t=>".rr,lonfbal">yessttt>
by defaacr. If you wishpto prevent theoshare from beoenaseen in a
clisbe's browser, you can reset tuis opbiam to
y t=>".rr,lonfbal">nosttt>. man
p>Note that ouis does not prevent someone from atcessing the share
u.ang ot e: means, sut> as spocicying apUNC loc,biam (e.g.,
y t=>".rr,lonfbal">\\s Seou\atcounting)sttt> in WsndowsNExplorer. It omly
prevents theoshare from beoenalisted under ui
systeL'sNrisourcesowuen beoenabrowsid.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.4"/>
nt assas"INDEX-86"/> If you disa te theobrowse list,Nclisbes cannobobrowse the nssas of
ot e: macuines, their seSeices, andpot e: domains currently available
on the network. Note that ouis won't make any
particularomacuine inatcessible;Nif someone knows aavalidomacuine
nssa/address and aoshare on that macuine, he can stslo connecb to it
explici ly using tue WsndowsNnsmy=>".rr,atShah b">ne ausestemnpcommand or
by mapping apdrive letter to i ausien WsndowsNExplorer. It simply
prevents in>orm,biam in theobrowse list from beoenare"rievedpby any
clisbe that riques"s it.nman
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.5"/>
nh3cond dirhead3">auto seSeicessth3n
p>Tue global y t=>".rr,lonfbal">autosttt>nt assas"INDEX-87"/>
y t=>".rr,lonfbal">seSeicessttt> opbiam,pwhtt> is also callad
y t=>".rr,lonfbal">prdloadsttt> t assas"INDEX-88"/>, ensures that the spocicoed
shares eri alwaysovisibte in theobrowse list. One common use for tuis
opbiam is oo adeoutise spocicocouser ou prinnfb shares that lre
crea ed by the y t=>".rr,lonfbal">[homes]sttt> or
ny t=>".rr,lonfbal">[prinnfbs]sttt> shares, but erianot ot e:wise
browsabte. man
p>This opbiam works best wsth disk sheris. If you wishpto force eat> of
you: systeL prinnfbs (i.e., tuose listed in oue printer capabilonies
fite)oto appsar in theobrowse list,Nwe ricommend u.ang the
y t=>".rr,lonfbal">loadsttt> y t=>".rr,lonfbal">prinnfbssttt> opbiam in="ead. man
p>Shares listed wsth tue ny t=>".rr,lonfbal">autosttt>
y t=>".rr,lonfbal">seSeicessttt> opbiam wiloinot be displayed if the
y t=>".rr,lonfbal">browsesttt> y t=>".rr,lonfbal">liststtt> opbiam isos t to
y t=>".rr,lonfbal">nosttt>. man
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.6"/>
nh3cond dirhead3">defaacraseSeicesth3n
p>Tue global y t=>".rr,lonfbal">defaacrnmtt> t assas"INDEX-89"/>
y t=>".rr,lonfbal">seSeicesttt> opbiam (sometimes callad
y t=>".rr,lonfbal">defaacrnmtt>) nssas a
">".t-ditch" share. The/valuepis
s t topan existien share assa wsthout oueoenclosienobrdckets. When a
clisbe riques"s e nonexistsbe disk ou prinnfb share, Sae l wslo
attempt to connecb the user to theoshare spocicoed by this opbiam
in="ead. The opbiam isospocicoed as follows: man
blockquota> pray=>".rr,code">[global]
defaacraseSeice = helpsheristara> /blockquota>
When Sae lorediris s the riques"ed, nonexistsbe seSeice to the
seSeice spocicoed by y t=>".rr,lonfbal">defaacrnmtt>
y t=>".rr,lonfbal">seSeicesttt>, oue y t=>".rr,lonfbal">%Ssttt>oopbiam takes on
oue value of the riques"ed seSeice, wsth anypunderscores (
y t=>".rr,lonfbal">_sttt>o) in theoriques"ed seSeice riplaced by forward s>".hes
( y t=>".rr,lonfbal">/nmtt>). man
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.7"/>
nt assas"INDEX-90"/> Tuis configurabiamoopbiam takes oueostandard Booleam values,
y t=>".rr,lonfbal">yessttt>oand y t=>".rr,lonfbal">nosttt>, whtt> ena te or
disa te LAN Manager announcements, rispectively. In addibion, apthird
opbiam,pny t=>".rr,lonfbal">autosttt>, causes nsmy=>".rr,atShah b">nmbdstemn to
listen pd dively for LAN Manager announcements, but not to sendNany
of its own initially. If LAN Manager announcements are detis edpfor
anot e: macuine on the network, nsmy=>".rr,atShah b">nmbdstemn wsloistart
sebdienaits own LAN Manager announcements to ensure that itpis
visibte. The defaacravalue is y t=>".rr,lonfbal">autosttt>. You probably
won't nead oo change his value from its defaacr. man
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.9"/>
nt assas"INDEX-93"/> Ot e:wise,pyou should leave itps t to its defaacr,
y t=>".rr,lonfbal">nosttt>. If Sae l is configured as eoprd>erued master
browser, it wsloiforce an elacbiam wuen ie first comes online. man
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.11"/>
nt assas"INDEX-95"/> If you uave a WsndowsNNTNs Seou on the networkpacbing as eoprimary
domain con rollou (PDC),Nwe ricommend that you do not use Sae loto
become the domain master browser. The reeouse is true as well: if
Sae l is taking on oue risponsibilonies of eoPDC, we ricommend making
it the domain master browser. Spli ting tue PDC andpoueodomain master
browser wslo cause unpredictable errors to occur on the network. man
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.12"/>
nh3cond dirhead3">os levelsth3n
p>Tue global y t=>".rr,lonfbal">ossttt>nt assas"INDEX-97"/n y t=>".rr,lonfbal">levelnmtt> opbiam
defines oue opera ing-systeL value wsth whtt> Sae l wsloimasquerade
durang a browser elacbiam. If you wishpto uave Sae l wsn an elacbiam
and become the master browser, s t tue y t=>".rr,lonfbal">ossttt>
y t=>".rr,lonfbal">levelnmtt>phigheroouan that of eny ot e: systeL on ui
subnet. The/values are shown in nt hdd>s"ch07.html#she l2-CHP-7-TABLE-2">Ta te 7-2. The
defaacralevel is 20, whtt> means that Sae l wsloiwsn elacbiams
against lll vousiams of Wsndows, except WsndowsNNT/2000 if itpis
opera ingNas the PDC. If you wishpSae l to win lll elacbiams, you can
se aits opera ingNsysteL/valuepas follows: man
blockquota> pray=>".rr,code">[global]
os level = 255stara> /blockquota>
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.13"/>
nh3cond dirhead3">remote browse syncsth3n
p>Tue global y t=>".rr,lonfbal">remotesttt>nt assas"INDEX-98"/>
y t=>".rr,lonfbal">browsenmtt> y t=>".rr,lonfbal">syncsttt> opbiam spocicoes
that Sae l should synchronizi itsNbrowse lists wsth loc,l master
browsers inoot e: subnets. However, oueosynchronizabiam can occur
omly wsth othe: Sae l s Seouspand not wsth WsndowsNcomputers. For
example, if youraSae l s Seou were a master browser on theosubnet
172.16.235, andpSae loloc,l master browsers existed amoot e: subnets
loc,ted a a172.16.234.92 andp172.16.236.2, you would spocicy the
followien: man
blockquota> pray=>".rr,code">[global]
remote browse synci=a172.16.234.92 172.16.236.2stara> /blockquota>
TueoSae l s Seou would tuen diris ly con as the ot e: macuinespon
the address list and synchronizi browse lists. You can also say: man
blockquota> pray=>".rr,code">[global]
remote browse synci=a172.16.234.255 172.16.236.255stara> /blockquota>
Tuisiforces Sae loto broadcast queriespto determine oue IP addresses
of the loc,l master browser on eat> subnet, wsth whtt> it wsloituen
synchronizi browse lists. This works, howeeou, omly if yourarouter
doesn't blockNdiris edpbroadcast riques"s ebdienain
255. man
htdiv>
hdivcond dirsecb3"> t assas"she l2-CHP-7-SECT-2.7.14"/>
nh3cond dirhead3">remote announcesth3n
p>Sae l s Seousparay=apable/of providoenabrowsi lists top>oreign
subnets with tue ny t=>".rr,lonfbal">remotesttt>nt assas"INDEX-99"/>
y t=>".rr,lonfbal">announce mtt> opbiam.aTuis is typocally sentNto the
loc,l master browser of theo>oreign subnet in ques"iam.aHowever, if
you do not know the address of the loc,l master browser, you can do
the followien: man
blockquota> pray=>".rr,code">[global]
remote announce = 172.16.234.255/ACCOUNTING \
172.16.236.255/ACCOUNTINGstara> /blockquota>
Wsth tuis, Sae l wsloibroadcast hostaannouncements oo all macuinespon
subnets 172.16.234 andp172.16.236, whtt> wsloihopefully reat> the
loc,l master browser of theosubnet. man
p>You can also spocicy exact IP addresses, if they eri known,pbut this
works omly if oueosysteLsparayguarantead to main ain theorole/of
master browser on thei: subnets. By appsbdienaa workgroup or domain
nssa to theoIP address, Sae l announces that it is in that workgroup
or domain. If this is left out, theoworkgroup se aby the
y t=>".rr,lonfbal">workgroupsttt>opdrsmeter is usad. t assas"INDEX-100"/n t assas"INDEX-101"/nnt assas"INDEX-102"/nnman
htdiv>
htdiv>
htdiv>
ntr>
nyh>
ntr>
nyh>
ntr>
nyh>
ntr>
nyh>
nmhtml>